package view

import (
	"github.com/labstack/echo"
	"src/controller"
)

func Notice(notice *echo.Group) {
	notice.GET("", controller.GetNewNotice)
	notice.GET("/all", controller.GetNoticeAll)
	notice.POST("/action/add", controller.CreatNotice)
	notice.POST("/action/change", controller.ChangeNotice)
	notice.POST("/action/delete", controller.DeleteNotice)
}
